#ifndef CACHEPARTITIONING_H_
#define CACHEPARTITIONING_H_

#include "Extent.h"
#include "SystemView.h"

class CachePartitioning{
	SystemView* view;
	double total_read_miss;
	int* partition_read_miss;

public:	
	CachePartitioning(SystemView* v) { view = v; };		//constructor
	void calculate_partitioning(int time);
	void calculations(list<LunTimeStatistics*> time_stats);
	int findPartition(int lunID);
};
#endif /*CACHEPARTITIONING*/